﻿@model SuperiorModel.HomeModel
@{
    Layout = null;
}

<html>
<head>
    <meta charset="utf-8">
    <title>layuiAdmin 控制台主页一</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <script src="~/scripts/jquery-1.10.2.js"></script>
    <script src="~/scripts/Common/Base.js"></script>
    <script src="~/scripts/Common/RequestManager.js"></script>
    <script src="~/scripts/Common/ToolManager.js"></script>
    <script src="~/scripts/layer/layer.js"></script>
    <script src="~/layui/layui.js"></script>
    <link href="~/layui/css/layui.css" rel="stylesheet" />
    <link href="~/Content/admin.css" rel="stylesheet" />
    <script src="~/scripts/echarts/echarts.min.js"></script>


</head>
<body layadmin-themealias="default">

    <div class="layui-fluid">
        <div class="layui-row layui-col-space15">
            <div class="layui-col-md8">
                <div class="layui-row layui-col-space15">

                    <div class="layui-col-md12">
                        <div class="layui-card">
                            <div class="layui-card-header">数据统计</div>
                            <div class="layui-card-body">

                                <div class="layui-carousel layadmin-carousel layadmin-backlog" lay-anim="" lay-indicator="inside" lay-arrow="none" style="width: 100%; height: 280px;">
                                    <div carousel-item="">
                                        <ul class="layui-row layui-col-space10 layui-this">
                                            <li class="layui-col-xs6">
                                                <a lay-href="app/content/comment.html" class="layadmin-backlog-body">
                                                    <h3>商品总量</h3>
                                                    <p><cite>@Model.TotalProductCount</cite></p>
                                                </a>
                                            </li>
                                            <li class="layui-col-xs6">
                                                <a lay-href="app/forum/list.html" class="layadmin-backlog-body">
                                                    <h3>用户总量</h3>
                                                    <p><cite>@Model.TotalUserCount</cite></p>
                                                </a>
                                            </li>
                                            <li class="layui-col-xs6">
                                                <a lay-href="template/goodslist.html" class="layadmin-backlog-body">
                                                    <h3>订单总量</h3>
                                                    <p><cite>@Model.TotalOrderCount</cite></p>
                                                </a>
                                            </li>
                                            <li class="layui-col-xs6">
                                                <a href="javascript:;" onclick="layer.tips('不跳转', this, {tips: 3});" class="layadmin-backlog-body">
                                                    <h3>总销售额</h3>
                                                    <p><cite>@Model.TotalOrderAmount</cite></p>
                                                </a>
                                            </li>

                                        </ul>

                                    </div>
                                    <div class="layui-carousel-ind">
                                    </div>

                                </div>
                            </div>
                        </div>
                    </div>

                    <div class="layui-col-md12">
                        <div class="layui-card">
                            <div class="layui-card-header">近7日用户增长量</div>
                            <div class="layui-card-body">

                                <div id="addUserCountChart" style="width:100%;height:320px;"></div>

                            </div>
                        </div>

                    </div>

                    <div class="layui-col-md6">
                        <div class="layui-card">
                            <div class="layui-card-header">近7日销售额</div>
                            <div class="layui-card-body">

                                <div id="sallPriceChart" style="width:100%;height:320px;"></div>

                            </div>
                        </div>

                    </div>
                    <div class="layui-col-md6">
                        <div class="layui-card">
                            <div class="layui-card-header">近7日销售量</div>
                            <div class="layui-card-body">

                                <div id="sallCountChart" style="width:100%;height:320px;"></div>

                            </div>
                        </div>

                    </div>
                </div>
            </div>
            <div class="layui-col-md4">
                <div class="layui-card">
                    <div class="layui-card-header">待处理事项</div>
                    <div class="layui-card-body layui-text">
                        <table class="layui-table">
                            <colgroup>
                                <col width="100">
                                <col>
                            </colgroup>
                            <tbody>
                                <tr>
                                    <td>待发货</td>
                                    <td>
                                        <span style="color:crimson">@(Model.WaitSendCount)单</span>
                                    </td>
                                </tr>
                                <tr>
                                    <td>待售后</td>
                                    <td>
                                        <span style="color:crimson">@(Model.WaitServiceCount)单</span>
                                    </td>
                                </tr>

                            </tbody>
                        </table>
                    </div>
                </div>
                <div class="layui-card">
                    <div class="layui-card-header">商城信息</div>
                    <div class="layui-card-body layui-text">
                        <table class="layui-table">
                            <colgroup>
                                <col width="100">
                                <col>
                            </colgroup>
                            <tbody>
                                <tr>
                                    <td>小程序</td>
                                    <td>

                                        <span>永久</span>

                                    </td>
                                </tr>
                                <tr>
                                    <td>H5商城</td>
                                    <td>
                                        <span>未在使用</span>
                                    </td>
                                </tr>
                                <tr>
                                    <td>版本</td>
                                    <td>最新</td>
                                </tr>
                               
                            </tbody>
                        </table>
                    </div>
                </div>





                <div class="layui-card">
                    <div class="layui-card-header">产品文档</div>
                    <div class="layui-card-body">
                        <div class="layadmin-news" style="width: 100%; height: 135px;">
                            <div carousel-item="">

                                <div class="layui-this"><a lay-href="/Home/OptionWord" id="btn_openWord" class="layui-bg-green">官方操作文档</a></div>


                            </div>
                            <div carousel-item="" style="    margin-top: 10px;">

                                <div class="layui-this"><a lay-href="/Home/Questions" id="btn_openQuestion" class="layui-bg-green">常见问题</a></div>


                            </div>
                        </div>
                    </div>
                </div>

                <div class="layui-card">
                    <div class="layui-card-header">
                        产品宗旨
                        <i class="layui-icon layui-icon-tips" lay-tips="要支持的噢" lay-offset="5"></i>
                    </div>
                    <div class="layui-card-body layui-text layadmin-text">
                        <p>优越店长,由数名10年+经验的工程师合力开发,保证有力的技术支持,致力于商户快速构建小程序商城,H5商城等,全力提供高质量平台服务。</p>
                        <p>公司诚挚期望合作商户与公司一同发展,合作共赢。</p>

                    </div>
                </div>


                <div class="layui-card">
                    <div class="layui-card-header">快捷方式</div>
                    <div class="layui-card-body">

                        <div class="layui-carousel layadmin-carousel layadmin-shortcut" lay-anim="" lay-indicator="inside" lay-arrow="none" style="width: 100%; height: 280px;">
                            <div carousel-item="">
                                <ul class="layui-row layui-col-space10 layui-this FastJump">
                                    <li class="layui-col-xs3">
                                        <a lay-href="/Home/Index">
                                            <i class="layui-icon layui-icon-console"></i>
                                            <cite>首页</cite>
                                        </a>
                                    </li>
                                    <li class="layui-col-xs3">
                                        <a lay-href="/ShopApp/List">
                                            <i class="layui-icon layui-icon-chart"></i>
                                            <cite>商城</cite>
                                        </a>
                                    </li>
                                    <li class="layui-col-xs3">
                                        <a lay-href="/Product/Menu">
                                            <i class="layui-icon layui-icon-template-1"></i>
                                            <cite>分类</cite>
                                        </a>
                                    </li>
                                    <li class="layui-col-xs3">
                                        <a lay_href="/Product/List">
                                            <i class="layui-icon layui-icon-chat"></i>
                                            <cite>商品</cite>
                                        </a>
                                    </li>
                                    <li class="layui-col-xs3">
                                        <a lay-href="/User/List">
                                            <i class="layui-icon layui-icon-find-fill"></i>
                                            <cite>用户</cite>
                                        </a>
                                    </li>
                                    <li class="layui-col-xs3">
                                        <a lay-href="/Order/List">
                                            <i class="layui-icon layui-icon-survey"></i>
                                            <cite>订单</cite>
                                        </a>
                                    </li>
                                    <li class="layui-col-xs3">
                                        <a lay-href="/Marketing/CouponList">
                                            <i class="layui-icon layui-icon-user"></i>
                                            <cite>优惠</cite>
                                        </a>
                                    </li>
                                    <li class="layui-col-xs3">
                                        <a lay-href="/Set/ShippingTemplateList">
                                            <i class="layui-icon layui-icon-set"></i>
                                            <cite>运费</cite>
                                        </a>
                                    </li>
                                </ul>


                            </div>
                            <div class="layui-carousel-ind"></div>

                        </div>

                    </div>
                </div>

            </div>
        </div>
    </div>
</body>
</html>
<script src="~/scripts/Home/Index.js"></script>
<script>
    IndexClass.Instance.Init();
</script>